package com.libbase.utils

object MapUtils {
    fun <K, V> merging(value1: Map<K, V>?, value2: Map<K, V>?): Map<K, V>? {
        return value1?.let { it1 ->
            value2?.let { it2 ->
                it1.plus(it2)
            } ?: it1
        } ?: value2
    }
}